package demo.java.parallelprogram.future;

public class Client {

	public Data request(final String str){
		final FutureData future = new FutureData();
		new Thread(){
			public void run() {
				RealData realData=new RealData(str);
				future.setRealData(realData);
			};
		}.start();
		return future;
	}
}
